package com.socodethis.spaceex;

import com.socodethis.spaceex.math.cPoint;

public class buttonClass extends switchClass{
	private boolean flippedOnOff, isPressureSwitch;
	public buttonClass(buttonClass button){
		this(button.getButtonOn(),button.getDoor(), button.getButtonLocation());
		flippedOnOff = false;
		isPressureSwitch = false;
	}
	public buttonClass(boolean buttonOn, cPoint doorLocation, cPoint buttonLocation){
		super(buttonOn, doorLocation, buttonLocation);
		flippedOnOff = false;
		isPressureSwitch = false;
	}
	public void setFlippedOnOff(boolean set){
		flippedOnOff = set;
	}
	public boolean getFlippedOnOff(){
		return flippedOnOff;
	}
	public void setPressureSwitch(boolean set){
		isPressureSwitch = set;
	}
	public boolean getPressureSwitch(){
		return isPressureSwitch;
	}
}
